package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/8/9.
 */
@Entity
public class TransContract implements Serializable {

    //路耗 类型 1不计路耗 2减合理路耗 3超出全扣
    @Transient
    public static final Integer LOSSTYPE_BJLH = 1;
    @Transient
    public static final Integer LOSSTYPE_JHLLH = 2;
    @Transient
    public static final Integer LOSSTYPE_CCQK = 3;
    //1 收货净重 2 发货净重
    @Transient
    public static final Integer TRANS_PAY_TYPE_SHJZ = 1;
    @Transient
    public static final Integer TRANS_PAY_TYPE_FHJZ = 2;

    //合同状态 0 未审核 1执行中 2 执行完毕 3 作废
    @Transient
    public static final Integer STATUS_WSH = 0;
    @Transient
    public static final Integer STATUS_ZXZ = 1;
    @Transient
    public static final Integer STATUS_ZXWB = 2;
    @Transient
    public static final Integer STATUS_ZF = 3;
    private static final long serialVersionUID = -63253687667301308L;
    @Id
    private long id;
    @Property
    private String tctnum;
    @Property
    private Date addtime;
    @Property
    private Integer adduserid;
    @Property
    private String addusername;
    @Property
    private Integer audituserid;
    @Property
    private String auditusername;
    @Property
    private String transcompany;
    @Property
    private String tcabbreviation;
    @Property
    private Integer transcompanyid;
    @Property
    private Float transweight;
    @Property
    private Integer isblurred;
    @Property
    private Float transunitprice;
    @Property
    private Float intransunitprice;
    @Property
    private Integer isaddtax;
    @Property
    private Float taxrate;
    @Property
    private Integer transcars;
    @Property
    private Integer transtype;
    @Property
    private Integer transpaytype;
    @Property
    private Date signtime;
    @Property
    private Date transstarttime;
    @Property
    private Date transendtime;
    @Property
    private Integer sendaddressid;
    @Property
    private String sendaddress;
    @Property
    private Integer reciveaddressid;
    @Property
    private String reciveaddress;
    @Property
    private Integer losstype;
    @Property
    private Float lossvalue;
    @Property
    private Float outlossunitprice;
    @Property
    private Integer sendcompanyid;
    @Property
    private String sendcompanyname;
    @Property
    private Integer receivecompanyid;
    @Property
    private String receivecompanyname;
    @Property
    private String coaltypename;
    @Property
    private Integer coaltypeid;
    @Property
    private Integer contractid;
    @Property
    private Float totalpaymoney;
    @Property
    private Float payablemoney;
    @Property
    private String remark;
    @Property
    private Integer status;
    @Property
    private Integer isis;

    public Integer getIsis() {
        return this.isis;
    }

    public void setIsis(Integer isis) {
        this.isis = isis;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Float getPayablemoney() {
        return this.payablemoney;
    }

    public void setPayablemoney(Float payablemoney) {
        this.payablemoney = payablemoney;
    }

    public Float getTotalpaymoney() {
        return this.totalpaymoney;
    }

    public void setTotalpaymoney(Float totalpaymoney) {
        this.totalpaymoney = totalpaymoney;
    }

    public Integer getContractid() {
        return this.contractid;
    }

    public void setContractid(Integer contractid) {
        this.contractid = contractid;
    }

    public Integer getCoaltypeid() {
        return this.coaltypeid;
    }

    public void setCoaltypeid(Integer coaltypeid) {
        this.coaltypeid = coaltypeid;
    }

    public String getCoaltypename() {
        return this.coaltypename;
    }

    public void setCoaltypename(String coaltypename) {
        this.coaltypename = coaltypename;
    }

    public String getReceivecompanyname() {
        return this.receivecompanyname;
    }

    public void setReceivecompanyname(String receivecompanyname) {
        this.receivecompanyname = receivecompanyname;
    }

    public Integer getReceivecompanyid() {
        return this.receivecompanyid;
    }

    public void setReceivecompanyid(Integer receivecompanyid) {
        this.receivecompanyid = receivecompanyid;
    }

    public String getSendcompanyname() {
        return this.sendcompanyname;
    }

    public void setSendcompanyname(String sendcompanyname) {
        this.sendcompanyname = sendcompanyname;
    }

    public Integer getSendcompanyid() {
        return this.sendcompanyid;
    }

    public void setSendcompanyid(Integer sendcompanyid) {
        this.sendcompanyid = sendcompanyid;
    }

    public Float getOutlossunitprice() {
        return this.outlossunitprice;
    }

    public void setOutlossunitprice(Float outlossunitprice) {
        this.outlossunitprice = outlossunitprice;
    }

    public Float getLossvalue() {
        return this.lossvalue;
    }

    public void setLossvalue(Float lossvalue) {
        this.lossvalue = lossvalue;
    }

    public Integer getLosstype() {
        return this.losstype;
    }

    public void setLosstype(Integer losstype) {
        this.losstype = losstype;
    }

    public String getReciveaddress() {
        return this.reciveaddress;
    }

    public void setReciveaddress(String reciveaddress) {
        this.reciveaddress = reciveaddress;
    }

    public Integer getReciveaddressid() {
        return this.reciveaddressid;
    }

    public void setReciveaddressid(Integer reciveaddressid) {
        this.reciveaddressid = reciveaddressid;
    }

    public String getSendaddress() {
        return this.sendaddress;
    }

    public void setSendaddress(String sendaddress) {
        this.sendaddress = sendaddress;
    }

    public Integer getSendaddressid() {
        return this.sendaddressid;
    }

    public void setSendaddressid(Integer sendaddressid) {
        this.sendaddressid = sendaddressid;
    }

    public Date getTransendtime() {
        return this.transendtime;
    }

    public void setTransendtime(Date transendtime) {
        this.transendtime = transendtime;
    }

    public Date getTransstarttime() {
        return this.transstarttime;
    }

    public void setTransstarttime(Date transstarttime) {
        this.transstarttime = transstarttime;
    }

    public Date getSigntime() {
        return this.signtime;
    }

    public void setSigntime(Date signtime) {
        this.signtime = signtime;
    }

    public Integer getTranspaytype() {
        return this.transpaytype;
    }

    public void setTranspaytype(Integer transpaytype) {
        this.transpaytype = transpaytype;
    }

    public Integer getTranstype() {
        return this.transtype;
    }

    public void setTranstype(Integer transtype) {
        this.transtype = transtype;
    }

    public Integer getTranscars() {
        return this.transcars;
    }

    public void setTranscars(Integer transcars) {
        this.transcars = transcars;
    }

    public Float getTaxrate() {
        return this.taxrate;
    }

    public void setTaxrate(Float taxrate) {
        this.taxrate = taxrate;
    }

    public Integer getIsaddtax() {
        return this.isaddtax;
    }

    public void setIsaddtax(Integer isaddtax) {
        this.isaddtax = isaddtax;
    }

    public Float getIntransunitprice() {
        return this.intransunitprice;
    }

    public void setIntransunitprice(Float intransunitprice) {
        this.intransunitprice = intransunitprice;
    }

    public Float getTransunitprice() {
        return this.transunitprice;
    }

    public void setTransunitprice(Float transunitprice) {
        this.transunitprice = transunitprice;
    }

    public Integer getIsblurred() {
        return this.isblurred;
    }

    public void setIsblurred(Integer isblurred) {
        this.isblurred = isblurred;
    }

    public Float getTransweight() {
        return this.transweight;
    }

    public void setTransweight(Float transweight) {
        this.transweight = transweight;
    }

    public Integer getTranscompanyid() {
        return this.transcompanyid;
    }

    public void setTranscompanyid(Integer transcompanyid) {
        this.transcompanyid = transcompanyid;
    }

    public String getTcabbreviation() {
        return this.tcabbreviation;
    }

    public void setTcabbreviation(String tcabbreviation) {
        this.tcabbreviation = tcabbreviation;
    }

    public String getTranscompany() {
        return this.transcompany;
    }

    public void setTranscompany(String transcompany) {
        this.transcompany = transcompany;
    }

    public String getAuditusername() {
        return this.auditusername;
    }

    public void setAuditusername(String auditusername) {
        this.auditusername = auditusername;
    }

    public Integer getAudituserid() {
        return this.audituserid;
    }

    public void setAudituserid(Integer audituserid) {
        this.audituserid = audituserid;
    }

    public String getAddusername() {
        return this.addusername;
    }

    public void setAddusername(String addusername) {
        this.addusername = addusername;
    }

    public Integer getAdduserid() {
        return this.adduserid;
    }

    public void setAdduserid(Integer adduserid) {
        this.adduserid = adduserid;
    }

    public Date getAddtime() {
        return this.addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getTctnum() {
        return this.tctnum;
    }

    public void setTctnum(String tctnum) {
        this.tctnum = tctnum;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Generated(hash = 1722455000)
    public TransContract(long id, String tctnum, Date addtime, Integer adduserid,
                         String addusername, Integer audituserid, String auditusername,
                         String transcompany, String tcabbreviation, Integer transcompanyid,
                         Float transweight, Integer isblurred, Float transunitprice,
                         Float intransunitprice, Integer isaddtax, Float taxrate,
                         Integer transcars, Integer transtype, Integer transpaytype,
                         Date signtime, Date transstarttime, Date transendtime,
                         Integer sendaddressid, String sendaddress, Integer reciveaddressid,
                         String reciveaddress, Integer losstype, Float lossvalue,
                         Float outlossunitprice, Integer sendcompanyid, String sendcompanyname,
                         Integer receivecompanyid, String receivecompanyname,
                         String coaltypename, Integer coaltypeid, Integer contractid,
                         Float totalpaymoney, Float payablemoney, String remark, Integer status,
                         Integer isis) {
        this.id = id;
        this.tctnum = tctnum;
        this.addtime = addtime;
        this.adduserid = adduserid;
        this.addusername = addusername;
        this.audituserid = audituserid;
        this.auditusername = auditusername;
        this.transcompany = transcompany;
        this.tcabbreviation = tcabbreviation;
        this.transcompanyid = transcompanyid;
        this.transweight = transweight;
        this.isblurred = isblurred;
        this.transunitprice = transunitprice;
        this.intransunitprice = intransunitprice;
        this.isaddtax = isaddtax;
        this.taxrate = taxrate;
        this.transcars = transcars;
        this.transtype = transtype;
        this.transpaytype = transpaytype;
        this.signtime = signtime;
        this.transstarttime = transstarttime;
        this.transendtime = transendtime;
        this.sendaddressid = sendaddressid;
        this.sendaddress = sendaddress;
        this.reciveaddressid = reciveaddressid;
        this.reciveaddress = reciveaddress;
        this.losstype = losstype;
        this.lossvalue = lossvalue;
        this.outlossunitprice = outlossunitprice;
        this.sendcompanyid = sendcompanyid;
        this.sendcompanyname = sendcompanyname;
        this.receivecompanyid = receivecompanyid;
        this.receivecompanyname = receivecompanyname;
        this.coaltypename = coaltypename;
        this.coaltypeid = coaltypeid;
        this.contractid = contractid;
        this.totalpaymoney = totalpaymoney;
        this.payablemoney = payablemoney;
        this.remark = remark;
        this.status = status;
        this.isis = isis;
    }

    @Generated(hash = 1736954134)
    public TransContract() {
    }
}
